package dk.au.transxor.message;

public interface IMessage {

	/**
	 * Return the value (as a short) of the field 'data_seq'
	 */
	public abstract short get_data_seq();

	/**
	 * Set the value of the field 'data_seq'
	 */
	public abstract void set_data_seq(short value);

	/**
	 * Return the entire array 'data_field' as a byte[]
	 */
	public abstract byte[] get_data_field();

	/**
	 * Set the contents of the array 'data_field' from the given byte[]
	 */
	public abstract void set_data_field(byte[] value);

	/**
	 * Return an element (as a byte) of the array 'data_field'
	 */
	public abstract byte getElement_data_field(int index1);

	/**
	 * Set an element of the array 'data_field'
	 */
	public abstract void setElement_data_field(int index1, byte value);

	/**
	 * Fill in the array 'data_field' with a String
	 */
	public abstract void setString_data_field(String s);

	/**
	 * Read the array 'data_field' as a String
	 */
	public abstract String getString_data_field();

}